package cn.niit.smbms.service;

import cn.niit.smbms.entity.SysUserReceiveAddres;

import java.util.List;

public interface SysUserReceiveAddresService {

    /**
     * 查询收货地址列表
     * @param addres
     * @return
     */
    List<SysUserReceiveAddres> selectByCondition(SysUserReceiveAddres addres);

    /**
     * 查询收货地址列表
     * @param receiveId
     * @return
     */
    SysUserReceiveAddres selectByreceiveId(Long receiveId);

    /**
     * 更新收货地址
     * @param addres
     * @return
     */
    int update(SysUserReceiveAddres addres);

    /**
     * 添加收货地址
     * @param addres
     * @return
     */
    int add(SysUserReceiveAddres addres);

}
